package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.KolProductEntity;
import yf.mall.entity.KolProductEntityExample;

@Mapper
@Repository
public interface KolProductExtMapper {
    long countByExample(KolProductEntityExample example);

    int deleteByExample(KolProductEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(KolProductEntity record);

    int insertSelective(KolProductEntity record);

    List<KolProductEntity> selectByExampleWithBLOBs(KolProductEntityExample example);

    List<KolProductEntity> selectByExample(KolProductEntityExample example);

    KolProductEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") KolProductEntity record, @Param("example") KolProductEntityExample example);

    int updateByExampleWithBLOBs(@Param("record") KolProductEntity record, @Param("example") KolProductEntityExample example);

    int updateByExample(@Param("record") KolProductEntity record, @Param("example") KolProductEntityExample example);

    int updateByPrimaryKeySelective(KolProductEntity record);

    int updateByPrimaryKeyWithBLOBs(KolProductEntity record);

    int updateByPrimaryKey(KolProductEntity record);
}